package com.cms.entity.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 公司表
 * </p>
 *
 * @author 作者
 * @since 2022-03-06
 */
@Data
public class BaseCompany implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 公司名称
     */
    private String name;

    /**
     * 公司地址
     */
    private String address;

    /**
     * 邮政编码
     */
    private String postcode;

    /**
     * 联系人
     */
    private String contact;

    /**
     * 手机号码
     */
    private String mobile;

    /**
     * 电话号码
     */
    private String phone;

    /**
     * 传真号码
     */
    private String fax;

    /**
     * 电子邮箱
     */
    private String email;

    /**
     * QQ号码
     */
    private String qq;

    /**
     * 微信图标
     */
    private String weixin;

    /**
     * H5图标
     */
    private String h5;

    /**
     * APP图标
     */
    private String app;

    /**
     * 营业执照代码
     */
    private String blicense;

    /**
     * 其它信息
     */
    private String other;

    /**
     * 站点ID
     */
    private Integer siteId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }
    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }
    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }
    public String getWeixin() {
        return weixin;
    }

    public void setWeixin(String weixin) {
        this.weixin = weixin;
    }
    public String geth5() {
        return h5;
    }

    public void seth5(String h5) {
        this.h5 = h5;
    }
    public String getApp() {
        return app;
    }

    public void setApp(String app) {
        this.app = app;
    }
    public String getBlicense() {
        return blicense;
    }

    public void setBlicense(String blicense) {
        this.blicense = blicense;
    }
    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }
    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    @Override
    public String toString() {
        return "Company{" +
            "id=" + id +
            ", name=" + name +
            ", address=" + address +
            ", postcode=" + postcode +
            ", contact=" + contact +
            ", mobile=" + mobile +
            ", phone=" + phone +
            ", fax=" + fax +
            ", email=" + email +
            ", qq=" + qq +
            ", weixin=" + weixin +
            ", h5=" + h5 +
            ", app=" + app +
            ", blicense=" + blicense +
            ", other=" + other +
            ", siteId=" + siteId +
        "}";
    }
}
